package com.cmx.dao;

import com.cmx.model.Topic;
import org.springframework.stereotype.Repository;

/**
 * Created by cmx on 2017/5/13.
 */

@Repository
public class TestBaseDao extends BaseDao {


    public Topic selectOne(Integer id) {
        Topic topic = this.getSqlSession().selectOne("TopicMapper.selectOne",id);
        return topic;
    }
}
